package com.java2108.hetong.controller;


import com.bw.springboot.starter.upload.service.FileService;
import com.bw.zhanggm.common.AjaxResult;
import com.java2108.hetong.service.IHtTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 合同类型信息表 前端控制器
 * </p>
 *
 * @author zhanggm
 * @since 2024-02-23
 */
@RestController
@RequestMapping("hetong/type")
public class HtTypeController {

    @Autowired
    IHtTypeService typeService;


    @GetMapping("getListAll")
    public AjaxResult getListAll() {
        return AjaxResult.success(typeService.list());
    }



}
